package me.tomato3017.plugins.epicmusic.thread;

import me.tomato3017.plugins.epicmusic.EpicMusic;
import me.tomato3017.plugins.epicmusic.audio.MusicData;
import org.bukkit.entity.Player;

/**
 *
 * @author Anthony Kirksey <Anthony.Kirksey@gmail.com>
 */
public class PlayMusicThread implements Runnable{
    private Player player;
    private MusicData musicData;

    public void run() {
        EpicMusic.getAudioManager().playMusic(musicData, player);
    }

    public MusicData getMusicData() {
        return musicData;
    }

    public void setMusicData(MusicData musicData) {
        this.musicData = musicData;
    }

    public Player getPlayer() {
        return player;
    }

    public void setPlayer(Player player) {
        this.player = player;
    }

    
    
    
}
